package com.example.demo.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

@Configurable
public class WebSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter( ){
        return new  ServerEndpointExporter();
    }
}
